<div ng-include="'tpl/menu.tpl.html'" ng-controller="MgtMenuController"></div>  

<div class="container">
  <h1>主题《{{topic.title}}》的报名信息</h1>  
  <div class="row">
    <div class="col-xs-12">
      <div class="table-responsive">
        <table class="table table-hover">
          <thead>
            <tr>
              <th>#</th>
              <th>姓名</th>
              <th>邮箱</th>
              <th>手机号</th>
              <th>报名时间</th>
              <th>快捷操作</th>
            </tr>
          </thead>
          <tbody>
            <tr ng-repeat="enroll in enrolls" >
              <td>
                {{$index}}
              </td>             
              <td>
              {{enroll.user}}
              <td>{{enroll.email}}</td>
              <td>{{enroll.phone}}</td>
              <td>{{enroll.enrollDate |date:'yyyy年MM月dd日 HH:mm:ss'}}</td>
              <td>
                 <button ng-click="remove(topic)" type="button" class="btn btn-primary btn-xs">  <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
                 </button>                                  
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>

